package com.woniuxy.mq01;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//启用rabbtimq,大多框架可以不添加启用注解
@EnableRabbit
@SpringBootApplication
public class Mq01Application {

    public static void main(String[] args) {
        SpringApplication.run(Mq01Application.class, args);
    }

}
